#include <soar.h>

int main(int argc, char *argv[])
{
    unsigned int seed=0;
    int i;

    for(i=0; i<5; ++i)
    {
        printf("random [100,200]: %d %d\n",
                random_int(100, 200, &seed),
                random_int(100, 200, &seed));
    }
    printf("random [0,3000000]: %d\n", random_int(0, 3000000, &seed));
    printf("random [-200,-100]: %d\n", random_int(-200, -100, NULL));

    char password[15+1];
    printf("random password: %s\n",
            random_password(password, sizeof(password)-1));

    return(0);
}
